WooCommerce\Square\API A

Total Complexity 57
Dependencies 23
Dependents 4
Total lines 858
Lines of code 297
Logical lines of code 176
Comment lines 358
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
create_image()
A
40 8 60
do_post_parse_response_validation()
A
49 8 31
perform_request()
S
54 4 21
do_square_request()
S
58 4 15
get_new_request()
S
58 3 16
adjust_inventory()
S
55 1 19
__construct()
S
67 2 8
get_inventory_request()
S
80 1 3
batch_retrieve_inventory_counts()
S
73 1 5
get_customers()
S
70 1 6
get_locations()
S
68 1 7
retrieve_inventory_physical_count()
S
73 1 5
handle_response()
S
71 1 6
retrieve_inventory_count()
S
72 1 5
retrieve_inventory_changes()
S
73 1 5
retrieve_inventory_adjustment()
S
73 1 5
get_catalog_request()
S
80 1 3
batch_change_inventory()
S
72 1 5
batch_retrieve_inventory_changes()
S
73 1 5
batch_delete_catalog_objects()
S
73 1 5
remove_inventory()
S
78 1 3
add_inventory()
S
78 1 3
add_inventory_from_refund()
S
79 1 3
upsert_catalog_object()
S
72 1 5
update_item_taxes()
S
72 1 5
update_item_modifier_lists()
S
72 1 5
search_catalog_objects()
S
73 1 5
retrieve_catalog_object()
S
72 1 5
list_catalog()
S
72 1 5
delete_catalog_object()
S
73 1 5
catalog_info()
S
73 1 5
batch_upsert_catalog_objects()
S
72 1 5
batch_retrieve_catalog_objects()
S
72 1 5
get_plugin()
S
81 1 3